package com.ch.web.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ch.web.ResponseDto.xyTalk.TalkResponseDto;
import com.ch.web.entity.user.XyTalkEntity;
import com.ch.web.requestDto.xyTalk.request.XyTalkAddRequest;
import com.ch.web.utils.PageUtils;

import javax.servlet.http.HttpServletRequest;
import java.util.List;
import java.util.Map;

/**
 *
 *
 * @author chenHao
 * @email 1429542285@qq.com
 * @date 2022-10-15 13:58:33
 */
public interface XyTalkService extends IService<XyTalkEntity> {

    List<TalkResponseDto> queryPage(Map<String, Object> map, HttpServletRequest request);

    boolean addShareTalk(XyTalkAddRequest addRequest, HttpServletRequest request);

    PageUtils getUserTalkList(Map<String, Object> map, HttpServletRequest request);

    List<TalkResponseDto> getSelfTalk(Long talkId,HttpServletRequest request);

    Boolean selfDeleteTalkById(Long id);

    PageUtils adminGetList(Map<String, Object> map, HttpServletRequest request);
}

